#app{
  height:100%;
  position:relative;
  .app-header{
    position:fixed;
    width:100%;
    top:0px;
    left:0px;
    height:70px;
    line-height:70px;
    background:#323436;
    z-index:1;
    h1{
      margin:0;
    }
    a{
      color:#848484;
    }
    .logo{
      float:left;
      font-size:22px;
    }
    .app-top-nav{
      float:right;
    }
  }
  .app-nav-list{
    li{
      float:left;
      font-size:18px;
      &.active{
        a{
          border-bottom:2px solid $currentColor;
          color:$currentColor;
          background:#212325;
        }
      }
      a{
        display:block;
        height:70px;
        border-bottom:2px solid #323436;
        padding:0 40px;
        color:#848484;
        &:hover{
          color:$currentColor;
        }
      }
    }
  }
}
.app-user{
  .avatar{
    opacity:0;
    transform:translate(0px, -300px);
  }
  .avatar{
    border-radius:50%;
    border:1px solid #1c8adb;
  }
  .app-user-info{
    padding:15px 0;
    line-height:25px;
    h3, h5{
      transform:translate(0px, -100px);
    }
  }
  .app-user-exper{
    padding-top:40px;
    width:600px;
    margin:0 auto;
  }
}
@for $i from 1 through 5 {
  .time-axis-item:nth-child(#{$i}){
    transform:translate(0px, (600px + ($i - 1)*200));
  }
}
// 入场动画
.focus{
  .avatar,
  .app-user-info h3,
  .app-user-info h5,
  .time-axis-item{
    opacity:1;
    transform:translate(0px, 0px);
  }
  .time-axis:before{
    top:15px;
  }
}
.avatar,
.app-user-info h3,
.app-user-info h5,
.time-axis-item{
  transition:all 0.6s ease-in-out;
}
.time-axis{
  margin:0;
  margin-left:80px;
  padding:0;
  position:relative;
}
.time-axis:before{
  content:'';
  position:absolute;
  left:92px;
  top:515px;
  width:1px;
  height:100%;
  background-color:#e4e4e4;
  transition:all 0.6s ease-in-out;
}
.time-axis-item{
  list-style:none;
  padding-left:150px;
  position:relative;
  line-height:35px;
  font-size:14px;
  color:#ccc;
  text-align:left;
}
.time-axis-achievement{
  margin:0;
}
.time-axis-date{
  position:absolute;
  left:0;
  top:0;
  color:#ddd;
}
.time-axis-date span{
  position:absolute;
  left:86px;
  top:35%;
  display:block;
  width:13px;
  height:13px;
  border:1px solid #ccc;
  border-radius:100%;
  background-color:#fff;
}
.time-axis-date span:after{
  content:'';
  position:absolute;
  left:0;
  top:0;
  right:0;
  bottom:0;
  width:7px;
  height:7px;
  margin:auto;
  background-color:#ccc;
  border:1px solid #ccc;
  border-radius:100%;
}
.time-axis-item:first-child .time-axis-date span{
  border-color:#48beb2;
}
.time-axis-item:first-child .time-axis-date span:after{
  background-color:#48beb2;
  border-color:#48beb2;
}
// skill
.app-skills-list{
  li{
    margin-bottom: 5px;
    a{
      position: relative;
      // background-color: #096254;
      background-color: rgba(9, 98, 84, 0.6);
      color: #aee2d9;
      border-radius: 3px;
      border-bottom: 4px solid #2a8a7b;
      display: inline-block;
      padding: 9px 25px 7px;
      margin: 5px 5px 0;
      &:before{
        position: absolute;
        bottom:-4px;
        left: 0;
        display: inline-block;
        width: 0%;
        height: 3px;
        background-color: #096254;
        transition: 0.3s;
        transition-timing-function: ease-out;
        content: "";
        opacity: 1;
      }
      // &.normal:before{
        // width: 30%;
      // }
      &:hover{
        &:before{
          width: 100%;
        }
      }
      &.normal{
        &:hover{
          &:before{
            width: 30%;
          }
        }
      }
    }
  }
}
// end skill
.app-case{
  .fp-tableCell{
    display:inline-block;
  }
  .slide{
    overflow:hidden;
  }
  .fp-controlArrow.fp-prev{
    left:90px;
  }
  .fp-controlArrow.fp-next{
    right:90px;
  }
  .fp-slidesNav{
    left:50% !important;
    right:auto;
    transform:translateX(-50%);
  }
}
.app-contact{
  h4{
    font-size:40px;
    margin-bottom:10px;
    color:#5ca281;
  }
  .content{
    color:#5ca281;
    font-size:35px;
    line-height:50px;
  }
}
.overlay{
  position: relative;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  opacity: 0.9;
  display: block;
  &:before{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  &:after{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  &:after,&:before{
    position: absolute;
    content: "";
    height: 30%;
    width: 30%;
    background: #000;
    opacity: 0;
    transition: all 0.5s ease-in-out;
  }
}
.cast-wrap{
  margin:0 auto 0;
}
.cast-list{
  margin: 0 -15px 0;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  li{
    width:25%;
    margin-right:-1px;
    padding:0 15px;
    margin-bottom:30px;
    img{
      width: 100%;
      height: 100%;
      border: 5px solid #fff;
      border-radius: 5px;
    }
  }
  .overlay{
    &:before{
      top: 0;
      left: 0;
      z-index: 1;
    }
    &:after{
      bottom: 0;
      right: 0;
      z-index: 1;
    }
  }
  .cast-list-link{
    .icon{
      color: #fff;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%); 
      z-index: 2;
      visibility: hidden;
      opacity: 0;
      cursor: pointer;
      text-align: center;
      font-size: 12px;
      transition: all 0.5s ease-in-out;
      border-radius: 4px;
    }
    &:hover{
      .icon{
        visibility: visible;
        opacity: 1;
      }
      &:before{
        height: 50%;
        width: 100%;
        opacity: 0.8;
      }
      &:after{
        height: 50%;
        width: 100%;
        opacity: 0.8;
      }
    }
  }
}
.app-case-conatiner {
  position: relative;
  width: 780px;
  margin: 0 auto;
  transition: all 1s ease;
  padding-top:100px;
}
#filters {
  margin: 1% 0 20px;
  padding: 0;
  list-style: none
}
#filters li {
  float: left
}
#filters li span {
  display: block;
  padding: 5px 20px;
  text-decoration: none;
  color: #666;
  cursor: pointer
}
#filters li span.filters-filter-active {
  background: #323436;
  color: #fff
}
.social-share{
  margin-top: 15px;
  display: flex;
  justify-content: center;
  .item{
    margin: 0 10px;
    background:#3176d9;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #008a75;
    transition: 0.5s;
    border-radius:50%;
    opacity: 0.6;
    img{
      width: 32px;
      position: relative;
      top: -3px;
    }
    &:hover{
      border-radius:10px;
      opacity: 1;
    }
  }
}
